import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {Page1Component} from '../page1/page1.component';
const appRoutes: Routes = [
    {
        path: 'page1',
        component: Page1Component
    }
]
@NgModule({
    imports: [
        RouterModule.forRoot(appRoutes),
    ],
    exports: [RouterModule],
    declarations: []
})
export class RoutingModule {
}
